package novel

import (
	v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
	"github.com/gin-gonic/gin"
)

type NovelRouter struct {
}

func (n *NovelRouter) InitNovelRouter(Router *gin.RouterGroup) {
	routerGroup := Router.Group("novel")
	var novelApiGroup = v1.ApiGroupApp.NovelApiGroup
	{
		routerGroup.GET("chapterByAuthorAndName", novelApiGroup.ChapterByAuthorAndName) // 新建SysDictionary
		routerGroup.GET("ContentByUrl", novelApiGroup.ContentByUrl)                     // 新建SysDictionary
	}

}
